using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Factory : Singleton<Factory>
{
    public StorageInShelfFactory Factory_StorageInShelf = new();
    public IsolatedStorageFactory Factory_StorageIsolate = new();
    //public Cargo_1100_1100_950_Factory Factory_Cargo_1100_1100_1100 = new();
    //public Cargo_1200_1000_1200_Factory Factory_Cargo_1200_1100_1200 = new();

    public Dictionary<CargoType, ICargoFactory> CargoFactories = new()
    {
        //{ CargoType.Cargo_1100_1100_1100, new Cargo_1100_1100_950_Factory() },
        { CargoType.Cargo_1100_1100_1400, new Cargo_1200_1000_1200_Factory() }
    };

    public IStorageFactory GetStorageFactory(string storageInfoCode)
    {
        return Factory_StorageInShelf;
    }
}
